package com.sqx.modules.disease.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 药方明细表(PrescriptMaterials)表实体类
 *
 * @author makejava
 * @since 2023-11-20 21:53:00
 */
@Data
public class PrescriptMaterials {
    @ApiModelProperty("药方编码")
    private Long prescriptId;
    @ApiModelProperty("药方阴阳辨证类型")
    private String prescriptType1;
    @ApiModelProperty("药方归脏腑类型")
    private String prescriptType2;
    @ApiModelProperty("备用类型")
    private String prescriptType3;
    @ApiModelProperty("药材编码")
    private Long materialsId;
    @ApiModelProperty("药材名称")
    private String materialsName;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty("剂量")
    private String dosage;

}

